const fs = require('fs');
const path = require('path');

const projectPath = path.join('C:', 'Users', 'Administrator', 'IdeaProjects', 'untitled', 'accounting-app');

try {
  // 创建主项目目录
  fs.mkdirSync(projectPath, { recursive: true });

  // 创建子目录
  fs.mkdirSync(path.join(projectPath, 'pages'));
  fs.mkdirSync(path.join(projectPath, 'components'));

  console.log('目录结构创建成功');
} catch (err) {
  console.error('创建目录时出错:', err);
}
